#ifndef INPUTDATA_H
#define INPUTDATA_H

#include <defs/export.h>
#include <defs/global.h>
#include <core/entityobject.h>

#include <QtScript>
#include <QtCore>

O_PRIVATE_DECLARE(InputData);
class InputData : public Opl::Core::EntityObject ,protected QScriptable {
    Q_OBJECT
public:
    static QString ID;
    enum InputContext{
        user
    };

	Q_ENUMS(InputContext);
	InputData(InputContext ic);
	virtual ~InputData();

    static QScriptValue construct_Script(QScriptContext *context, QScriptEngine *engine);
public slots:
    QString string();

private:
    O_PRIVATE_DECLARE_MEMBER(InputData);
};

Q_DECLARE_METATYPE(InputData*)

#endif // INPUTDATA_H

